package com.cenntro.oss.common.enums;

public enum OnlineDeviceStatusEnum {

	/**
	 * 已删除
	 */
	DELETE(-1, "已删除"),
	/**
	 * 已离线
	 */
	OFFLINE(0, "已离线"),
	/**
	 * 在线
	 */
	ONLINE(1, "在线（已过时）"),
	/**
	 * 行驶中
	 */
	RUNNING(2, "行驶中"),
	/**
	 * 充电中
	 */
	CHARGING(3, "充电中"),
	/**
	 * 启动中
	 */

	START_UP(4, "启动中"),
	/**
	 * 熄火
	 */
	STALLING(5, "熄火"),
	/**
	 * 其他
	 */
	OTHER(6, "其他");

	private Integer state;
	private String name;

	private OnlineDeviceStatusEnum(Integer state, String name) {
		this.state = state;
		this.name = name;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
